package com.song.tools.export.api.core;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 导出任务状态枚举
 *
 * @author song tools
 * @since 2024-07-05
 */
@AllArgsConstructor
@Getter
public enum StatusEnum {
    NEW(1, "新建任务"),
    DOING(2, "正在导出"),
    DONE(3, "已经导出"),
    FAIL(4, "导出失败");

    @EnumValue
    private final Integer code;
    private final String desc;
}
